package com.ai.spring.common.annotation;

import com.ai.spring.common.enums.ParamScope;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 自定义请求参数
 *
 * @author 石头
 * @Date 2019/11/18
 * @Version 1.0
 **/
@Target(ElementType.PARAMETER)
@Retention(RetentionPolicy.RUNTIME)
public @interface RequestParam {
    ParamScope scope() default ParamScope.REQ_PARAM;
}
